package lab02.test35;

public class Worker extends Employee {
    int days;
    double daySalary;

    public Worker(){}
    public Worker(int days,double daySalary){
        this.days = days;
        this.daySalary = daySalary;
    }
    @Override
    public double computerSalary() {
        return daySalary*days;
    }
}
